<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html;charset=utf-8"%>
<%@ include file="/pub/siteinclud.jsp"%>
<%
	String inforId = request.getParameter("inforId");
%>
<html>
	<head>
		<title>企助网 将企业软件开发定制、自助建站、网络营销等企业服务集于一体</title>
		<meta name="keywords" content="企助网 自助建站 网站建设 网络营销 seo 搜索引擎优化"/>
		<meta name="description" content="企助网 为您的企业量身打造、为您提供一系列的营销方案。服务项目软件开发定制、自助建站、网络营销、在线客服"/>
		<link href="<%=request.getContextPath() %>/site/${SiteAccessPath}/css/css.css" rel="stylesheet" type="text/css" />
		<link href="<%=request.getContextPath() %>/site/${SiteAccessPath}/css/global.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript">
			function searchdomain(){
				var domain = $("#domainname").val()+ $("input[name='radioa'][type='radio']:checked").val();
				if($("#domainname").val()==""){
					alert("请输入您要查询的域名！");
				}else{
					$("#area_domain").attr("value",domain);
						var options = {
							type: 'POST',
							async: false,
							dataType: 'content-type',
							success: function(msg) {
								if(msg.indexOf("210 : Domain name is available")!=-1){
									alert(domain+"域名可以使用！");
								}else if(msg.indexOf("211 : Domain name is not available")!=-1){
									alert(domain+"域名已被占用！");
								}else if(msg.indexOf("212 : Domain name is invalid")!=-1){
									alert(domain+"域名参数传输错误！");
								}else if(msg.indexOf("213 : Timeout")!=-1){
									alert(domain+"查询超时！");
								}
							}
						}
						$('#domainsearch').ajaxSubmit(options);
				}
			}
			function sethotqs(){
				$.ajax({
					url :"<%=path%>/cms/artgroup/grpArtlst", //要访问的后台地址
				    data: "site_id=yblsite01&currentPage=1&pageSize=8&grpId=0000000200130d5328e79", //要发送的数据
				    type : 'POST', //使用get方法访问后台
				    dataType : 'json', //返回json格式的数据
				    success : function(data){
			   			var rows = data.recordList; 
			   			var aa = "<ul class='left'>";
				    	$.each(rows, function(i, n){
				    		var title=n.art_name;
				    		if(title.length>18){
				    			title = title.substr(0,12)+"...";
				    		}
				    		aa = aa+"<li><a href='xwzs?inforId="+n.id+"'>"+title+"</a></li>";
				        }); 
						$("#hotqs_div").html(aa+"</ul>");
				    }
				});
			}
			$(function(){
		        $.ajax({
					url :"<%=request.getContextPath()%>/cms/article/show/<%=inforId%>", //要访问的后台地址
				    type : 'GET', //使用get方法访问后台
				    dataType : 'json', //返回json格式的数据
				    success : function(data){
			    		$("#title_div").html("<h2>"+data.art_name+"</h2><P>"+(new Date(data.create_time)).format("yyyy-MM-dd hh:mm")+"&nbsp;&nbsp;作者："+data.author+"</p>");
			    		$("#content_div").html(data.content);
				    }
				});	 
				sethotqs();
			})
						
		</script>
	</head>

	<body>
		<form id="domainsearch" method="post" target="_blank" action="sys/searchdomain" >
			<input type="hidden" value="qizhu88" id="area_domain" name="area_domain"/> 
		</form>
		<%@ include file="header.jsp" %>
		<div class="menu">
			<div class="menu_con">
				<span><a href="index">首页</a></span>
				<a href="taocan">特惠套餐</a>
				<a href="network">网络营销</a>
				<a href="product">产品中心</a>
				<a href="star">企助之星</a>
				<a href="daili">代理专区</a>
			</div>
			<div style="clear: both"></div>
		</div>
		<div class="submenu">
			<div class="submenul left">
				<img src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/submenul.gif" width="7" height="30" />
			</div>
			<div class="submenuc left">
				欢迎您访问企助网！我们为您提供最优质的互联网服务！
			</div>
			<div class="submenur right">
				<img src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/submenur.gif" width="6" height="30" />
			</div>
		</div>
		<div style="clear: both"></div>
		<div class="main1">
			<div class="whois left">
				<img src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/whois_title.jpg" width="250" height="32" />
				<div class="chois_conl left">
					<img src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/whoisl.gif" width="7" height="190" />
				</div>
				<div class="chois_conc left">
					<div class="chois_radio">
						<input name="radio" type="radio" id="radio" value="radio"
							checked="checked" />
						英文域名
						<input type="radio" name="radio" id="radio" value="radio" />
						中文域名
					</div>
					<div class="chois_search">
						<span class="left">www.</span>
						<input type="text" name="textfield2" id="domainname"
							class="chois_input left" />
						<input name="button3" type="image" onclick="searchdomain()" id="button3" value="提交"
							src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/whois_search.jpg" class="left" />
					</div>
					<div class="chois_select">
						<ul>
							<li>
								<input type="radio" name="radioa" checked="checked" id="checkbox10" value=".com" />
								.com
							</li>
							<li>
								<input type="radio" name="radioa" id="checkbox1" value=".net" />
								.net
							</li>
							<li>
								<input type="radio" name="radioa" id="checkbox2" value=".org" />
								.org
							</li>
							<li>
								<input type="radio" name="radioa" id="checkbox3" value=".cn" />
								.cn
							</li>
							<li>
								<input type="radio" name="radioa" id="checkbox4" value=".com.cn" />
								.com.cn
							</li>
							<li>
								<input type="radio" name="radioa" id="checkbox5" value=".cc" />
								.cc
							</li>
							<li>
								<input type="radio" name="radioa" id="checkbox6" value=".info" />
								.info
							</li>
							<li>
								<input type="radio" name="radioa" id="checkbox7" value=".biz" />
								.biz
							</li>
							<li>
								<input type="radio" name="radioa" id="checkbox8" value=".net.cn" />
								.net.cn
							</li>
							<li>
								<input type="radio" name="radioa" id="checkbox9" value=".org.cn" />
								.org.cn
							</li>
						</ul>
					</div>
				</div>
				<div class="chois_conr right">
					<img src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/whoisr.gif" width="7" height="190" />
				</div>
			</div>
			<div class="banner right">
				<img src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/banner.jpg" alt="banner" width="700" height="222" />
			</div>
		</div>
		<div style="clear: both"></div>
		<div class="main2">
			<div class="main2l left">
				<div class="main2_question">
					<div class="main2_newsl left">
						<img src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/newsl_bg.gif" width="11" height="216" />
					</div>
					<div class="main2_newsc left">
						<div class="newsc_title">
							<b class="left">热点问题</b><span><a href="#" class="right">更多>></a>
							</span>
						</div>
				      	<div class="newsMain">
				            <div style="clear:both" id="hotqs_div">
				            </div>
						</div>
					</div>
					<div class="main2_newsr right">
						<img src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/newsr_bg.gif" width="12" height="216" />
					</div>
				</div>
				<div class="contact">
					<div class="contactl left">
						<img src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/newsl_bg.gif" width="11" height="216" />
					</div>
					<div class="contactc left">
						<h2>
							联系我们
						</h2>
				        <strong>售后服务：</strong>(86)(010)57459991<br />
						<strong>联系 Q Q ：</strong>1193074058<br />
						<strong>技术支持：</strong>(86)(010)85376459 <br />
						<strong>公司地址：</strong>北京市朝阳区双桥北京传媒
						<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						总部基地 B座1103 <br />
				        <strong>乘车路线：</strong>地铁八通线双桥站B出口；
				        <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				         右转，往东200米即到。<br />
					</div>
					<div class="contactr right">
						<img src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/newsr_bg.gif" width="12" height="216" />
					</div>
				</div>
				<div style="clear: both"></div>
			</div>
			  <div class="NewsList right">
			    <div class="NewsTitle" id="title_div"></div>
				<div id="content_div">
				</div>
			   </div>
		     </div>
		<div style="clear: both"></div>
		<%@ include file="footer.jsp" %>
</html>
